package service.impl;

import java.util.ArrayList;
import java.util.List;

import dao.AreaDao;
import dao.impl.AreaDaoImpl;
import service.AreaManager;

public class AreaManagerImpl implements AreaManager{
	private AreaDao areaDao;
	
	public AreaManagerImpl(){
		areaDao = new AreaDaoImpl();
	}

	@Override
	public List<String> getMatchArea(String matchStr) {
		List<String> list = new ArrayList<String>();
		list = areaDao.getAreaName(matchStr);
		return list;
	}

}
